]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Stop overriding ornament
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Jul 2023 17:09:05 +0000 (19:09 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 1 Aug 2023 17:32:53 +0000 (17:32 +0000)
Hiding elements that are supposed to be visible from the stylesheet
is confusing, don't do that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2843>

data/theme/gnome-shell-sass/widgets/_popovers.scss

index 6ff850a1446e9929f05904b6f5e25feefafb82b7..92588f28790cd4bb38cf816dde5f05a227874452 100644 (file)
@@ -75,11 +75,6 @@ $submenu_bg_color: lighten($menu_bg_color, 7%);
     border: 1px solid $hc_inset_color;
   }
 
-  .popup-menu-ornament {
-    icon-size: $base_icon_size !important;
-    width: $base_icon_size;
-  }
-
   // submenu specific styles
   .popup-menu-item {
     border-radius: 0;
@@ -117,10 +112,6 @@ $submenu_bg_color: lighten($menu_bg_color, 7%);
     background-color: $borders_color;
   }
 
-  .popup-menu-ornament {
-    width: 0 !important;
-  }
-
   // separators in submenus
   .popup-sub-menu & {
     background-color: transparent;
@@ -145,9 +136,6 @@ $submenu_bg_color: lighten($menu_bg_color, 7%);
 .app-menu {
   max-width: 27.25em;
 
-  // this is unneeded at the top-level in this menu, hide it
-  .popup-menu-ornament { width: 0 !important; }
-
   .popup-inactive-menu-item:first-child {
     // "Open Windows" label
     > StLabel {